package com.cmcc.packet.entity;

import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.Map;

/*
 * @author        : Wang
 * @data          : 2023/5/1016:34
 * @description   : some description
 */

public class PfcpEntity implements java.io.Serializable {

    /** 序列化标识 */
    private static final long serialVersionUID = 1L;

    /** 任务ID */
    private Integer taskId;
    /** TYPE */
    private String type;

    /** 头部 **/
    private String flags;

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getFo() {
        return fo;
    }

    public void setFo(String fo) {
        this.fo = fo;
    }

    private String version;
    private String fo;
    private String mp;
    private String s;
    private String messageType;
    private Integer length;
    private String seid;
    private String sequenceNum;
    private Integer messagePriority;
    private Timestamp timestamp;
    private String srcIp;
    private String srcPort;
    private String dstIp;
    private String dstPort;
    private String message;

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getSrcIp() {
        return srcIp;
    }

    public void setSrcIp(String srcIp) {
        this.srcIp = srcIp;
    }

    public String getSrcPort() {
        return srcPort;
    }

    public void setSrcPort(String srcPort) {
        this.srcPort = srcPort;
    }

    public String getDstIp() {
        return dstIp;
    }

    public void setDstIp(String dstIp) {
        this.dstIp = dstIp;
    }

    public String getDstPort() {
        return dstPort;
    }

    public void setDstPort(String dstPort) {
        this.dstPort = dstPort;
    }

    public Timestamp getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Timestamp timestamp) {
        this.timestamp = timestamp;
    }

    public ArrayList<InformationElement> ieList;

    public static class InformationElement {
        Integer type;
        Integer length;
        String enterpriseId;
        String Data;
        Map<String, String> dataMap;
        ArrayList<InformationElement> groupIE;
        Integer taskId;

        public Integer getType() {
            return type;
        }

        public void setType(Integer type) {
            this.type = type;
        }

        public Integer getLength() {
            return length;
        }

        public void setLength(Integer length) {
            this.length = length;
        }

        public String getEnterpriseId() {
            return enterpriseId;
        }

        public void setEnterpriseId(String enterpriseId) {
            this.enterpriseId = enterpriseId;
        }

        public String getData() {
            return Data;
        }

        public void setData(String data) {
            Data = data;
        }

        public Map<String, String> getDataMap() {
            return dataMap;
        }

        public void setDataMap(Map<String, String> dataMap) {
            this.dataMap = dataMap;
        }

        public ArrayList<InformationElement> getGroupIE() {
            return groupIE;
        }

        public void setGroupIE(ArrayList<InformationElement> groupIE) {
            this.groupIE = groupIE;
        }

    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getTaskId() {
        return taskId;
    }

    public void setTaskId(Integer taskId) {
        this.taskId = taskId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getFlags() {
        return flags;
    }

    public void setFlags(String flags) {
        this.flags = flags;
    }

    public String getMp() {
        return mp;
    }

    public void setMp(String mp) {
        this.mp = mp;
    }

    public String getS() {
        return s;
    }

    public void setS(String s) {
        this.s = s;
    }

    public String getMessageType() {
        return messageType;
    }

    public void setMessageType(String messageType) {
        this.messageType = messageType;
    }

    public Integer getLength() {
        return length;
    }

    public void setLength(Integer length) {
        this.length = length;
    }

    public String getSeid() {
        return seid;
    }

    public void setSeid(String seid) {
        this.seid = seid;
    }

    public String getSequenceNum() {
        return sequenceNum;
    }

    public void setSequenceNum(String sequenceNum) {
        this.sequenceNum = sequenceNum;
    }

    public Integer getMessagePriority() {
        return messagePriority;
    }

    public void setMessagePriority(Integer messagePriority) {
        this.messagePriority = messagePriority;
    }

    public ArrayList<InformationElement> getIeList() {
        return ieList;
    }

    public void setIeList(ArrayList<InformationElement> ieList) {
        this.ieList = ieList;
    }
}
